﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;

namespace VOL.Entity.DomainModels.Devices.MongoDbModels
{
    public class CommandLog
    {
        /// <summary>
        ///主键        
        /// </summary>
        public Guid id { get; set; }

        /// <summary>
        ///设备编号
        /// </summary>
        public string deviceNo { get; set; }

        /// <summary>
        ///指令标志 1下发  2上传
        /// </summary>
        public int? flag { get; set; }

        /// <summary>
        ///控制字节
        /// </summary>
        public string controlStr { get; set; }

        /// <summary>
        ///上传指令
        /// </summary>
        public string commandStr { get; set; }

        /// <summary>
        ///添加时间
        /// </summary>
        public DateTime? createTime { get; set; }
        /// <summary>
        ///添加时间
        /// </summary>
        public DateTimeOffset AddTime { get; set; }
        /// <summary>
        ///设备所属用户
        /// </summary>
        public int? CreateID { get; set; }
    }
}
